﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace LIM.forms.uc_KiemNghiem_NhanSuPhongThiNghiem
{
    public partial class uc_KiemNghiem_NhanSuPhongThiNghiem_ChiTieuDangThucHien : UserControl
    {
        public uc_KiemNghiem_NhanSuPhongThiNghiem_ChiTieuDangThucHien()
        {
            InitializeComponent();
            radGridView2.DataSource = GetTable();
        }
        static DataTable GetTable()
        {
            //
            // Here we create a DataTable with four columns.
            //
            DataTable table = new DataTable();
            table.Columns.Add("MaChiTieu", typeof(string));
            table.Columns.Add("TenChiTieu", typeof(string));
            table.Columns.Add("NgayNhan", typeof(string));
            table.Columns.Add("NgayDenHan", typeof(string));
            // Here we add five DataRows.
            //

            table.Rows.Add("CT1", "Hàm lượng Protein thô",DateTime.Now.AddDays(-25),DateTime.Now.AddMonths(1));
            table.Rows.Add("CT2", "Hàm lượng Ẩm", DateTime.Now.AddDays(-24), DateTime.Now.AddMonths(1));
            table.Rows.Add("CT3", "Hàm lượng Tro tổng", DateTime.Now.AddDays(-15), DateTime.Now.AddDays(20));
            table.Rows.Add("CT4", "Hàm lượng Phosphor", DateTime.Now.AddDays(-10), DateTime.Now.AddDays(15));

            return table;
        }
    }
}
